/*--
 * Constants.cs: Defines commonly used constants.
 *--
 * For more information, please visit the Metashell Project site:
 *   http://code.google.com/p/metashell/
 *--
 * (c) 2006 Christopher E. Granade.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; exactly version 2
 * of the License applies to this software.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 */

using System;

namespace Metashell.Core {
	
	/// <summary>
	/// Specifies MIME types for common XML formats.
	/// </summary>
	public static class MIMETypes {
	
		/// See http://www.w3.org/MarkUp/ for information.
		public const string
			XHTML = "application/xhtml+xml";
		
		/// See http://www.w3.org/XML/ for information.
		public const string
		    XML = "text/xml";
	}
	
	/// <summary>
	/// Specifies the default file names for common resources.
	/// </summary>
	public static class CommonResources {		
		/// Default content to be shown when a Frontend loads,
		/// if applicable.
		public const string
			DefaultOutput = "home.xml";
	}
	
	/// <summary>
	/// Specifies the names used to refer to the formats of Metadocs.
	/// These names are primarily used in calling Core.ProcessLine().
	/// </summary>
	public static class MetadocFormats {
			
		/// Represents the case where there is no document.
		public const string	Null = "null";
			
		/// Standard XHTML (either 1.0 or 1.1 Strict).
		public const string	XHTML = "xhtml";
			
		/// A list of files and their checksums.
		public const string	Sums = "sums";
		
		/// A plain string encapsulated in an XML document.
		public const string	PlainText = "plaintext";
		
		/// A list of files and their properties.
		public const string	FileList = "filelist";
		
	}
	
	/// <summary>
	/// Specifies the XML namespaces used by the Metadoc formats specified in
	/// MetadocFormats.
	/// </summary>
	public static class MetadocNamespaces {
	
		/// Represents the case where there is no document.
		public const string	Null = "urn:metashell:null";
		
		/// Standard XHTML (either 1.0 or 1.1 Strict).
		public const string	XHTML = "http://www.w3.org/1999/xhtml";
		
		/// A list of files and their checksums.
		public const string	Sums = "urn:metashell:sums";
		
		/// A plain string encapsulated in an XML document.
		public const string	PlainText = "urn:metashell:plaintext";
		
		/// A list of files and their properties.
		public const string	FileList = "urn:metashell:filelist";
		
		/// Various views of the system registry.
		public const string	RegEdit = "urn:metashell:regedit";
		
	}
	
}
